package com.project.bean;

import java.util.ArrayList;
import java.util.List;

//订单实体类
public class OrderBean {
    private Integer id;
    private String people;
    private String address;
    private List<DetailBean> detailBeanList;

    public OrderBean() {
    }

    public OrderBean( String people, String address) {
        this.people = people;
        this.address = address;
    }

    public OrderBean(String people, String address, List<DetailBean> detailBeanList) {
        this.people = people;
        this.address = address;
        this.detailBeanList = detailBeanList;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPeople() {
        return people;
    }

    public void setPeople(String people) {
        this.people = people;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public List<DetailBean> getDetailBeanList() {
        return detailBeanList;
    }

    public void setDetailBeanList(List<DetailBean> detailBeanList) {
        this.detailBeanList = detailBeanList;
    }

    @Override
    public String toString() {
        return "OrderBean{" +
                "id=" + id +
                ", people='" + people + '\'' +
                ", address='" + address + '\'' +
                ", detailBeanList=" + detailBeanList +
                '}';
    }
}
